package kr.or.javacafe.board.dto;

import java.io.Serializable;
/*
DROP table BOARD  cascade constraint;
CREATE TABLE BOARD (
	SEQ        NUMBER NOT NULL, 
	DEL        NUMBER, 
	ID         VARCHAR2(20 BYTE), 
	PASSWORD   VARCHAR2(20 BYTE), 
	TITLE      VARCHAR2(200 BYTE), 
	CONTENT    VARCHAR2(400 BYTE), 
	WDATE      DATE,
	CONSTRAINT BOARD_PK PRIMARY KEY (SEQ),
	CONSTRAINT MEMBER_FK FOREIGN KEY (ID)  REFERENCES MEMBER(ID)
)
CREATE SEQUENCE SEQ_BOARD START WITH 1 INCREMENT BY 1;
 
 * */
public class BoardDTO implements Serializable {
	private int seq;
	private int del;
	private String id;
	private String password;
	private String title;
	private String content;
	private String wdate;
	
	// seq
	public int getSeq() {
		return seq;
	}
	public void setSeq(int seq) {
		this.seq = seq;
	}
	
	// del
	public int getDel() {
		return del;
	}
	public void setDel(int del) {
		this.del = del;
	}
	
	// id
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	// password
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	// title
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	// content
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	// wdate
	public String getWdate() {
		return wdate;
	}
	public void setWdate(String wdate) {
		this.wdate = wdate;
	}
}












